﻿using log4net;
using System;

namespace IceDog.DNF.Program.Command.Log4Net
{
    class Program
    {
        static ILog log = LogManager.GetLogger("icedog");

        static void Main(string[] args)
        {
            Console.WriteLine("in method Main");
            log.Debug("in method Main");
            MOne();
            MTwo();
            MThree();
        }

        static void MOne()
        {
            Console.WriteLine("in method MOne");
            log.Debug("in method MOne");
        }
        static void MTwo()
        {
            Console.WriteLine("in method MTwo");
            log.Debug("in method MTwo");
        }
        static void MThree()
        {
            Console.WriteLine("in method MThree");
            log.Debug("in method MThree");
        }
    }
}
